#ifndef CONVERT_CGNS_H_
#define CONVERT_CGNS_H_

#include "ParseCGNS_Export.h"

#include <string>

class PARSECGNS_EXPORT ConvertCgns
{
public:
    /**
     * @brief 读取odb文件并转换为指定的文件
     *
     * @param inputFile odb文件路径
     * @param outputDir 输出文件夹路径
     * @param outType 指定转换格式，0-vtk，1-gmsh，3-vtk and gmsh
     */
    static int ConvertCgnsToFile(std::string inputFile, std::string outputDir, int outType);
    
protected:
    explicit ConvertCgns();
    ~ConvertCgns();

    static int ConvertCgnsToVTK(std::string inputFile, std::string outputDir);
    static int ConvertCgnsToGmsh(std::string inputFile, std::string outputDir);

private:
    ConvertCgns(const ConvertCgns&) = delete;
    ConvertCgns& operator=(const ConvertCgns&) = delete;
};

#endif // CONVERT_CGNS_H_